using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Tongiao.Entity
{
                

     public class Tg_LoaiDaoEntity:AF_ORM.CORE.BaseEntity
    {
         public Tg_LoaiDaoEntity()
         {
             tableName = "Tg_LoaiDao";


			 fieldInfos.Add(new FieldInfo("Tg_LoaiDao","Id","Id","int",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_LoaiDao","MaLoaiDao","MaLoaiDao","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_LoaiDao","TenLoaiDao","TenLoaiDao","string",512,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected int m_Id;
		 protected string m_MaLoaiDao;
		 protected string m_TenLoaiDao;

		 public int Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public string MaLoaiDao

          { 
                get { 
                    return m_MaLoaiDao;}

                set{m_MaLoaiDao=value;

                    GetField("MaLoaiDao").Set();
                    GetField("MaLoaiDao").IsNull=(value == null);           
                    }
          }
		 public string TenLoaiDao

          { 
                get { 
                    return m_TenLoaiDao;}

                set{m_TenLoaiDao=value;

                    GetField("TenLoaiDao").Set();
                    GetField("TenLoaiDao").IsNull=(value == null);           
                    }
          }

}
}
